<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>sciter+react例子</title>

  <script type="module">
    import Button from 'components/Button/Button.js'
    class App extends Element {
      constructor(props) {
        
      }
      state = { time: Date.now() };

      // Called whenever our component is created
      componentDidMount() {
        // update time every second
       
      }

      // Called just before our component will be destroyed
      componentWillUnmount() {
        // stop when not renderable
        
      }

      render() {
        
        return <div><p>按钮</p><Button></Button></div>;
      }
    }
    document.getElementById("app").append(<App />)
    //render(<App />, document.getElementById("app"));
  </script>

</head>

<body>
  <div id="app">

  </div>
</body>

</html>

</html>